﻿@model SPagedList<Dyd.BaseService.ServiceCenter.Domain.Model.tb_node_report_model>
<table style="width:100%;" class="hover2" cellspacing="0" cellspadding="0" border="0">
    <tr>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.id)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.nodeid)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.createtime)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.errorcount)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.connectioncount)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.visitcount)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.processthreadcount)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.processcpuper)</th>
        <th style="width: 10%">@Html.DisplayNameFor(model => model.memorysize)</th>

        <th style="width: 20%">操作</th>
    </tr>

    @foreach (var item in Model)
    {
        <tr data-id="@item.id">
            <td>
                @item.id
            </td>
            <td>
                @item.nodeid
            </td>
            <td>
                @item.createtime
            </td>
            <td>
                @item.errorcount
            </td>
            <td>
                @item.connectioncount
            </td>
            <td>
                @item.visitcount
            </td>
            <td>
                @item.processthreadcount
            </td>
            <td>
                @item.processcpuper
            </td>
            <td>
                @item.memorysize
            </td>

            <td>
                <a class="editItem" data-operate="editItem" href="#">编辑</a>
                <a class="showItem" data-operate="showItem" href="#">查看</a>
                <a class="deleteItem" data-operate="deleteItem" href="#">删除</a>
            </td>
        </tr>
    }
</table>
<div class="pagination">
    <div class="total fl">共<em>@Model.TotalItemCount</em>条记录</div>
    <div class="pagination-pages">
        @Html.SPager(Model, "pno", "pager_page", "#ajaxList", "#ajaxForm")
    </div>
</div>